#!/usr/bin/perl

use warnings;
use strict;
use lib 't/testlib';
use Test::More tests => 2;

{
    package OtherPkg;
    use MyExport qw/askme $foo/;
}

Test::More::is($OtherPkg::foo, $MyExport::foo, '$foo was exported to OtherPkg');

Test::More::is(OtherPkg::askme(), MyExport::askme(),
    'askme() was exported to OtherPkg');
